from manimlib import *


class TestTransform(Scene):
    def construct(self):
        to_isolate = ["updater", "animation"]
        text = TexText("turn updater into animation", isolate=to_isolate)
        text2 = TexText("turn animation into updater", isolate=to_isolate)
        self.add(text)
        self.wait()
        self.play(
            TransformMatchingTex(
                text, text2,
                path_arc=PI/2
            )
        )
        self.wait()